package com.logic.landseaserver.domain;

import com.logic.common.domain.BasePojo;

/**
 * @Author: jack
 * @Date: 2017/5/23
 * @Description: 账单实体类
 */
public class Bill extends BasePojo {

    private static final long serialVersionUID = -6763344507281897692L;

    //基本信息
    private Integer contractId;//项目ID

    private String name;

    private Double receivableMoney;

    private Double amountReceived;

    private String remark;

    private String billStatus;

    private String billMonth;

    private String checkStatus;

    private String contractNo;

    private Double billMoney;
    private String billNo;
    
    // 是否支付过（除了自动抵扣其他的支付方式支付过1:是，0否）,默认是0，当为1时，不可使用授权码
    private Integer payWithMoney;

    public Double getBillMoney() {
        return billMoney;
    }

    public void setBillMoney(Double billMoney) {
        this.billMoney = billMoney;
    }

    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getReceivableMoney() {
        return receivableMoney;
    }

    public void setReceivableMoney(Double receivableMoney) {
        this.receivableMoney = receivableMoney;
    }

    public Double getAmountReceived() {
        return amountReceived;
    }

    public void setAmountReceived(Double amountReceived) {
        this.amountReceived = amountReceived;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(String billStatus) {
        this.billStatus = billStatus;
    }

    public String getBillMonth() {
        return billMonth;
    }

    public void setBillMonth(String billMonth) {
        this.billMonth = billMonth;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }
    
    public Integer getPayWithMoney()
    {
        return payWithMoney;
    }

    public void setPayWithMoney(Integer payWithMoney)
    {
        this.payWithMoney = payWithMoney;
    }

    @Override
    public String toString() {
        return "Bill [contractId=" + contractId + ", name=" + name + ", receivableMoney=" + receivableMoney
                + ", amountReceived=" + amountReceived + ", remark=" + remark + ", billStatus=" + billStatus
                + ", billMonth=" + billMonth + ", checkStatus=" + checkStatus + ", contractNo=" + contractNo + ", billNo="
                + billNo + ",id=" + getId() + "]";
    }
}